<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8' />
        <style>
            a:link{color:red;}
            a:visited{color:green;}
            a:hover{color:blue;}
            a:active{color:yellow;}
            li:hover{color:pink;}
        </style>
    </head>
    <body>
        <h2>伪类选择器(一)</h2>
        <a href='http://www.kndn.com' >18以下勿点</a><br />
        <ul>
            <li>aaaaaaa</li>
            <li>bbbbbbb</li>
            <li>ccccccc</li>
            <li>ddddddd</li>
        </ul>
    </body>
</html>